<template>
  <div class="px-20px py-30px w-375px">
    <div class="font-bold">{{ Info.title }}</div>
    <div class="mt-20px">{{ Info.content }}</div>
  </div>
</template>
<script setup>
import { getDoc } from "@/util/api";
const param = reactive({
  type: 1,
});
const Info = reactive({
  title: "",
  content: "",
  state: "",
  create_time: "",
  id: "",
});
const getData = async () => {
  const res = await getDoc(param);
  for (let i in Info) {
    Info[i] = res.msg[i];
  }
  // console.log(Info);
};
getData();
</script>
